<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>文章信息|<?php echo ($configcache['Title']); ?></title>
    <link rel="stylesheet" type="text/css" href="__CSS__/content.css"  />
    <link rel="stylesheet" type="text/css" href="__CSS__/public.css"  />
    <script type="text/javascript" src="__JS__/jquery.js"></script>
    <script type="text/javascript" src="__JS__/Public.js"></script>
    <script type="text/javascript" src="__JS__/winpop.js"></script>
    <script type="text/javascript" src="__JS__/check.js"></script>
    <script>
        $(document).ready(function() {
            $('.button').click(function() {
                var id=$('#dl input:hidden').val();
                alert(id);
                $.ajax({
                    url:'',
                    dataType:'json',
                    type:'POST',
                    data:{id:id},
                    success: function(data) {

                    }
                });
            });
        });
    </script>
</head>
<body>
<div id="content">
    <h1>首页 > 用户管理 > 文章详情</h1>
    <h2>
        <div class="h2_left">
            <a href="javascript:;" class="f5" onclick="f5();">刷新</a>
            <a href="javascript:history.back();" class="Retreat">后退</a>
            <a href="javascript:history.go(1);" class="Advance">前进</a>
        </div>
    </h2>
    <dl id="dl">
        <dt style="border-bottom: 1px solid #eee;"></dt>
        <dd><span style="font-size: 20px;color: red;"><?php if($article["checkStatus"] == 0): ?>拒绝原因 : <?php echo ($article["comment"]); endif; ?></span></dd>
        <dd>
            <?php if(is_array($picList)): $i = 0; $__LIST__ = $picList;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?><img src="<?php echo ($vo["realPicUrl"]); ?>" width="190" height="180" style="margin:5px;"><?php endforeach; endif; else: echo "" ;endif; ?>
        </dd>

        <dd>
            <span class="dd_left">文章标题：</span>
            <span class="dd_right"><font><?php echo ($article["articleName"]); ?></font></span>
        </dd>
         <dd>
            <span class="dd_left">文章来源：</span>
            <span class="dd_right"><font><?php echo ($article["articleSource"]); ?></font></span>
        </dd>
        <dd>
            <span class="dd_left">文章主图：</span>
            <span class="dd_right"><img src="<?php echo ($article["mainArticlePicURL"]); ?>" alt="" style="width:200px;height: 200px;"></font></span>
        </dd>
        <dd> 
            <span class="dd_left">文章简介：</span>
            <span class="dd_right"><font><?php echo ($article["articleIntro"]); ?></font></span>
        </dd>
        <dd>
            <span class="dd_left">文章内容：</span>

            <span class="dd_right" style="width: 1000px;"><font><?php echo ($article["articleContent"]); ?></font></span>
        </dd>
        <dd>
            <span class="dd_left">学习人数：</span>
            <span class="dd_right"><font><?php echo ($article["studyNum"]); ?></font></span>
        </dd>
      
      
        <dd>
            <span class="dd_left">发布人：</span>
            <span class="dd_right"><?php echo ($article["teacherId"]); ?></span>
        </dd>
         <dd>
            <span class="dd_left">审核状态：</span>
            <span class="dd_right">
                <?php switch($article["checkStatus"]): case "0": ?>审核失败<?php break;?>
                        <?php case "1": ?>待审核<?php break;?>
                        <?php case "2": ?>已审核<?php break;?>
                        <?php default: ?>未知<?php endswitch;?></span>
        
        </dd>

    </dl>
</div>
</body>
</html>